package com.sca.order.feign;

import com.sca.order.entity.api.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author liuxianfei
 * @since 2020/11/13 16:35
 */
@FeignClient("point-service")
public interface PointFeignClient {

    @PostMapping("/point/v1/add")
    BaseResult<?> add(@RequestParam Integer userId, @RequestParam Integer point);

}
